import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import './pluginis/element'

// 导入自己写的VueX实例store
import store from './store/store'

// 导入全局样式表
import './assets/css/base.css'
import './assets/font/fonts/iconfont.css'

Vue.config.productionTip = false

// Vue.use(axios)

axios.defaults.baseURL = 'http://123.207.32.32:8000'
Vue.prototype.$http = axios

new Vue({
  router,
  // 将VueX实例store挂载到vue上
  store,
  render: h => h(App)
}).$mount('#app')
